<?php
require_once 'PHPUnit/Framework.php';

class DataTest extends PHPUnit_Framework_TestCase {
	
	/**
	 * @dataProvider provider
	 */
	public function testAdd($a, $b, $c) {
		$this->assertEquals($c, $a + $b);
	}
	
	public function provider(){
		return array(
			array(0,0,0),
			array(0,1,1),
			array(1,0,1),
			array(1,1,2)
		);
	}
}